package org.filecollector.msgcontroller.listener;

import java.io.BufferedInputStream;
import java.io.InputStream;

public abstract class ListenerFactory {

    public static BasicsListener produceSystemIn() {
        return new ListenerCLI(new BufferedInputStream(System.in));
    }

    public static BasicsListener produceInputStream(InputStream is) {
        return new ListenerCLI(new BufferedInputStream(is));
    }
}
